﻿using System;
using System.Collections.Generic;

namespace Sdari.Api.DbModel;

public partial class ApiInfo
{
    public Guid Uid { get; set; }

    public int Id { get; set; }

    public string Name { get; set; }

    /// <summary>
    /// Api地址
    /// </summary>
    public string Address { get; set; }

    /// <summary>
    /// Help Address
    /// </summary>
    public string Help { get; set; }

    public string Description { get; set; }

    public string Creator { get; set; }

    public DateTime? CreateDate { get; set; }

    public string LastUpdater { get; set; }

    public DateTime? LastUpdatedDate { get; set; }

    public virtual ICollection<ApiConsumerAccess> ApiConsumerAccess { get; set; } = new List<ApiConsumerAccess>();

    public virtual ICollection<ApiWhitelist> ApiWhitelist { get; set; } = new List<ApiWhitelist>();

    public virtual ICollection<CallingLog> CallingLog { get; set; } = new List<CallingLog>();
}
